package com.sheep.jucdemo.part6.part6_1;

import java.util.concurrent.locks.LockSupport;

/**
 * @Date 2022/4/18 22:06
 * @Created by sheep
 */
public class Test6_1_3_1 {

    public void testPark(){
        LockSupport.park(this);
    }

    public static void main(String[] args) throws InterruptedException {
        Test6_1_3_1 test6_1_3_1 = new Test6_1_3_1();
        test6_1_3_1.testPark();
    }
}
